## 模板1
import os

env = None
Enable_Clang = False
# 1.编译器
if Enable_Clang and os.system("which clang") == 0:
    # clang编译器
    env = Environment(tools=["default", "clang"])
    env["CC"] = ["clang"]
    env["CXX"] = ["clang++"]
else:
    env = Environment()

env["PROGSUFFIX"] = ".out"              # 可执行文件后缀.out
env["CCFLAGS"] = " -ggdb3 -O0 -Wall -Wextra -Wpedantic -Wno-unused-variable -Wno-unused-parameter"       # gdb 调试
# asan调试
env["CCFLAGS"] += " -fsanitize=address -fno-omit-frame-pointer -fsanitize=leak"
env["LIBS"] = ["asan"]

env.Program("11_析构函数_访问不存在局部变量.cc")
